#
# When cargo has a 64-bit nightly of its own, we'll only need to download
# the relevant windows nightly.
- v32=i686-pc-mingw32
+ v32=i686-w64-mingw32
v64=x86_64-w64-mingw32
curl -O http://$host/dist/rust-nightly-$v32.exe
curl -O http://$host/dist/rust-nightly-$v64.exe
CFG_HOST="$(echo $CFG_HOST | tr ',' ' ')"
CFG_TARGET="$(echo $CFG_TARGET | tr ',' ' ')"
+# Temporary support for the old windows triples. Remove when rust also removes
+# this
+CFG_BUILD=`echo "${CFG_BUILD}" | sed 's/-pc-mingw32/-w64-mingw32/g'`
+CFG_HOST=`echo "${CFG_HOST}" | sed 's/-pc-mingw32/-w64-mingw32/g'`
+CFG_TARGET=`echo "${CFG_TARGET}" | sed 's/-pc-mingw32/-w64-mingw32/g'`
+
# copy host-triples to target-triples so that hosts are a subset of targets
V_TEMP=""
for i in $CFG_HOST $CFG_TARGET;